package edu.hubu.talentmanagementsystem.model.ext;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import edu.hubu.talentmanagementsystem.model.Model;

import java.io.Serializable;

/**
 * <p>
 * 反馈
 * </p>
 *
 * @author moonlan
 * @since 2021-03-13
 */
@TableName("feedback")
public class Feedback extends Model<Feedback> implements Serializable {


    /**
     * 反馈ID
     */
    @TableId(value = "feedback_id", type = IdType.AUTO)
    private Integer feedbackId;

    /**
     * 反馈内容
     */
    @TableField("feedback_content_text")
    private String feedbackContentText;

    /**
     * 截图
     */
    @TableField("feedback_content_img_url1")
    private String feedbackContentImgUrl1;

    /**
     * 截图
     */
    @TableField("feedback_content_img_url2")
    private String feedbackContentImgUrl2;

    /**
     * 截图
     */
    @TableField("feedback_content_img_url3")
    private String feedbackContentImgUrl3;

    @TableField("feedback_type_id")
    private Integer feedbackTypeId;

    @TableField(exist = false)
    private FeedbackType feedbackType;

    public Integer getFeedbackTypeId() {
        return feedbackTypeId;
    }

    public Feedback setFeedbackTypeId(Integer feedbackTypeId) {
        this.feedbackTypeId = feedbackTypeId;
        return this;
    }

    public FeedbackType getFeedbackType() {
        return feedbackType;
    }

    public Feedback setFeedbackType(FeedbackType feedbackType) {
        this.feedbackType = feedbackType;
        return this;
    }

    public Integer getFeedbackId() {
        return feedbackId;
    }

    public Feedback setFeedbackId(Integer feedbackId) {
        this.feedbackId = feedbackId;
        return this;
    }

    public String getFeedbackContentText() {
        return feedbackContentText;
    }

    public Feedback setFeedbackContentText(String feedbackContentText) {
        this.feedbackContentText = feedbackContentText;
        return this;
    }

    public String getFeedbackContentImgUrl1() {
        return feedbackContentImgUrl1;
    }

    public Feedback setFeedbackContentImgUrl1(String feedbackContentImgUrl1) {
        this.feedbackContentImgUrl1 = feedbackContentImgUrl1;
        return this;
    }

    public String getFeedbackContentImgUrl2() {
        return feedbackContentImgUrl2;
    }

    public Feedback setFeedbackContentImgUrl2(String feedbackContentImgUrl2) {
        this.feedbackContentImgUrl2 = feedbackContentImgUrl2;
        return this;
    }

    public String getFeedbackContentImgUrl3() {
        return feedbackContentImgUrl3;
    }

    public Feedback setFeedbackContentImgUrl3(String feedbackContentImgUrl3) {
        this.feedbackContentImgUrl3 = feedbackContentImgUrl3;
        return this;
    }

    @Override
    public String toString() {
        return "Feedback{" +
                "feedbackId=" + feedbackId +
                ", feedbackContentText=" + feedbackContentText +
                ", feedbackContentImgUrl1=" + feedbackContentImgUrl1 +
                ", feedbackContentImgUrl2=" + feedbackContentImgUrl2 +
                ", feedbackContentImgUrl3=" + feedbackContentImgUrl3 +
                "}";
    }
}
